package com.eastfair.venueservice.dto;

import com.eastfair.core.base.entity.SuperEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.io.Serializable;

/**
 * <p>
 * 实体类
 * 价目表
 * </p>
 *
 * @author linan
 * @since 2022-07-21
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
@Builder
@ApiModel(value = "ServicePriceListUpdateDTO", description = "价目表")
public class ServicePriceListUpdateDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @NotNull(message = "请填写主键", groups = SuperEntity.Update.class)
    private Long id;

    /**
     * 是否启用（确认状态）：1是 已确认；0否 未确认
     */
    @ApiModelProperty(value = "是否启用（确认状态）：1是 已确认；0否 未确认")
    private Integer isEnabled;
    /**
     * 是否删除：1是；0否
     */
    @ApiModelProperty(value = "是否删除：1是；0否")
    private Integer isDeleted;
    /**
     * 项目id
     */
    @ApiModelProperty(value = "项目id")
    private Long projectId;
    /**
     * 子系统id
     */
    @ApiModelProperty(value = "子系统id")
    private Long subsystemId;
    /**
     * 租户id
     */
    @ApiModelProperty(value = "租户id")
    private Long tenantId;
    /**
     * 价目编号
     */
    @ApiModelProperty(value = "价目编号")
    @Size(max = 255, message = "价目编号长度不能超过255")
    private String priceListNo;
    /**
     * 价目名称
     */
    @ApiModelProperty(value = "价目名称")
    @Size(max = 255, message = "价目名称长度不能超过255")
    private String priceListName;
    /**
     * 服务数量
     */
    @ApiModelProperty(value = "服务数量")
    private Integer serviceNum;
    /**
     * 展会使用数量
     */
    @ApiModelProperty(value = "展会使用数量")
    private Integer exhibitionNum;
}
